<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>

<script>
export default {
  name: 'webview',
  data() {
    return {
      url: '',
    }
  },
  onLoad(query) {
    this.url = query.type==1?'https://fyapp.huayuyangchu.cn/UserAgreement.html':'https://fyapp.huayuyangchu.cn/PrivacyPolicy.html'
  },
}
</script>
<style scoped>
</style>

